package com.hotelsystem.reservations.creators;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

import com.hotelsystem.reservations.rooms.Room;

public class RoomCreatorMain {

	public static void main(String[] args) {
		try (InputStream fis = RoomCreator.class.getResourceAsStream("room_to_create.txt")) {
			Room testRoom = new RoomCreator().readRoom(fis);
			System.out.println(testRoom);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}

		// testRoom = new RoomCreator().readRoom(System.in);
		// System.out.println(testRoom);

	}

}
